<div class="jumbotron text-center">
	<h1>Datasets for SmartOS!</h1>
	<p class="lead">most of the datasets provided are built by <a href="http://www.joyent.com/" target="_blank">joyent</a>
		<br />
		but there is also a growing list of datasets made by the community.</p>
</div>

<div ng-show="latest.length > 0">
	<table class="table table-condensed table-hover table-striped table-pointer">
		<caption><h3 align="left">latest versions</h3></caption>
		<thead>
			<tr>
				<th class="col-sm-7 col-xs-9">Name</th>
				<th class="col-sm-1">Version</th>
				<th class="col-sm-1">OS</th>
				<th class="col-sm-2 hidden-xs">Published</th>
				<th class="col-sm-1"></th>
			</tr>
		</thead>
		<tbody>
			<tr ng-repeat="ds in latest" ng-click="editManifest(ds.uuid)">
				<td>{{ds.name}}</td>
				<td>{{ds.version}}</td>
				<td>{{ds.os}}</td>
				<td class="hidden-xs" date-from-now="ds.published_at">{{ds.published_at}}</td>
				<td ng-switch on="ds.getCreator()">
					<span ng-switch-when="community" class="label label-primary">community</span>
				</td>
			</tr>
		</tbody>
	</table>
</div>
